|
Umístění Menu |
---|
Kreslení → Zakrácení/Prodloužení |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
T R |
Představen ve verzi |
- |
Viz také |
DílVysunutí |
Tento nástroj zakracuje a prodlužuje přímky a lomené čáry a vysunuje plochy.
Top: a Draft Wire extended and then trimmed.
Bottom: a face extruded into a solid body.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.
Here is an example to explain the modifier keys. The left edge or the bottom edge of the U-shaped wire was extended. All Draft Snaps were turned off.
See also: Draft Snap and Draft Constrain.
The modifier key mentioned here can be changed. See Draft Preferences.
Není dostupné. Podívejte se na nástroj Díl vysunutí.
extrusion = extrude(obj, vector, solid=False)
obj
is the object to be extruded.vector
is the extrusion direction and distance.solid
is True
a solid is created instead of a shell.extrusion
is returned with the created object.Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
rectangle = Draft.make_rectangle(1500, 500)
doc.recompute()
vector = App.Vector(0, 0, 300)
solid = Draft.extrude(rectangle, vector, solid=True)
doc.recompute()